package cn.ncu.wechat.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.math.BigDecimal;
@JsonInclude(JsonInclude.Include.NON_NULL)
@Data
public class MemberVo {
    private Long id;
    /**
     * 等级名称
     */
    private String name;

    /**
     * 等级图标
     */
    @JsonInclude(JsonInclude.Include.ALWAYS)
    private String icon;

    /**
     * 所需最低积分
     */
    @JsonInclude(JsonInclude.Include.ALWAYS)
    private Integer minPoints;

    /**
     * 折扣率
     */
    @JsonInclude(JsonInclude.Include.ALWAYS)
    private BigDecimal discount;
}
